<?php
/**************************************************************************
 * Naanal PHP Framework, Simple, Efficient and Developer Friendly
 * Ver 3.0, Copyright (C) <2010>  <Tamil Amuthan. R>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ************************************************************************/
$template_variables=array();
$template_variables[]='isadmin';
$template_variables[]='form';
$template_variables[]='record_index';
$template_function_calls=array();
$is_authentication_needed=false;
$control_panel=true;
$list_has_header=false;
$theme=true;
$database=true;
$table ="user";
$fields =array
(
  "userid" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "password" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "firstname" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "lastname" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "middlename" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "email" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "landline" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "mobile" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "address1" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "address2" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "city" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "state" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "country" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "zip" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>true
    ),
    "sessionid" =>array
    (
      "type"=>"string",
      "size"=>255,
      "override"=>false
    ),
    "active" =>array
    (
      "type"=>"integer",
      "size"=>14,
      "override"=>false
    ),
    "isadmin" =>array
    (
      "type"=>"integer",
      "size"=>14,
      "override"=>false
    ),
    
);

$actions=array
(
   "create"=>array(),
    "edit"=>array(),
    "list"=>array(),
    "update"=>array(),
    "insert"=>array(),
    "delete"=>array()
);
?>
